home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / brc.z / brc
Encoding:
Text File  |  2002-10-03  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. bbbbrrrrcccc((((1111MMMM))))                                                                bbbbrrrrcccc((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      brc, bcheckrc - system initialization procedures
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////eeeettttcccc////bbbbrrrrcccc
  13.      ////eeeettttcccc////bbbbcccchhhheeeecccckkkkrrrrcccc
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      These shell procedures are executed via entries in /_e_t_c/_i_n_i_t_t_a_b by
  17.      _i_n_i_t(1M) whenever the system is booted (or rebooted).
  18.  
  19.      First, the _b_c_h_e_c_k_r_c procedure checks the status of the root filesystem.
  20.      If the root filesystem is found to be bad, _b_c_h_e_c_k_r_c repairs it.
  21.  
  22.      Then, the _b_r_c procedure clears the mounted filesystem table, /_e_t_c/_m_t_a_b,
  23.      and puts the entry for the root filesystem into the mount table.
  24.  
  25.      After these two procedures have executed, _i_n_i_t checks for the _i_n_i_t_d_e_f_a_u_l_t
  26.      value in /_e_t_c/_i_n_i_t_t_a_b.  This tells _i_n_i_t in which run level to place the
  27.      system.  Since _i_n_i_t_d_e_f_a_u_l_t is initially set to 2222, the system is placed in
  28.      the multiuser state via the /_e_t_c/_r_c_2 procedure.
  29.  
  30.      Note that _b_c_h_e_c_k_r_c should always be executed before _b_r_c.  Also, these
  31.      shell procedures can be used for several run-level states.
  32.  
  33. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  34.      fsck(1M), init(1M), rc2(1M), shutdown(1M).
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.